/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: Developer.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/29 下午12:07
 * LastModified: 2020/03/29 12:07:29
 */

package com.qolome.knowledge.design.pattern.visitor.demo.kpi;

import java.util.Random;

/**
 * @author Qolome
 * @version V1.0
 * @Description 经理
 * @date 2020年 03月29日 12:07:46
 */
public class Manager extends Employee{

    public Manager(String name){
        super(name);
    }


    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

    //考核指标产品量
    public int getProjectCount(){
        return new Random().nextInt(10);
    }
}

